package com.yczlab.mybatis.entity;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@ToString(exclude = {"employees"})
@EqualsAndHashCode
public class Department implements Serializable {

    private static final long serialVersionUID = -8894804370215674155L;

    private Integer departmentId;

    private String departmentName;

    private Integer managerId;

    private Integer locationId;

    private List<Employee> employees;

}
